﻿<Window x:Class="WpfAlarmTimer.TimerEditDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:res="clr-namespace:WpfAlarmTimer.Resources"
        Title="TimerEditDialog" Height="241" Width="324">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="50"/>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Row="0" Grid.ColumnSpan="2" Text="Update Timer"/>
        <TextBox Grid.Row="1" Grid.ColumnSpan="2"  Text="{Binding SecondsToWait}" Name="timerTextBox" Margin="10"/>
        <!-- TODO make a nice input for HH:MM:SS -->
        <Button Grid.Row="0" Grid.Column="1" Name="deleteButton" Margin="10" ToolTip="Delete" Click="deleteButton_Click" Content="{res:Resources r='Muted'}"/>
        <Button Grid.Row="2" Grid.ColumnSpan="2" Content="Save" Name="saveButton" Margin="10" Padding="4" Click="saveButton_Click" />
    </Grid>
</Window>
